<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:jsx1="http://matrix.tibco.com/admin/server/services/usermgmt/messages" xmlns:jsx2="http://matrix.tibco.com/admin/server/services/usermgmt/types" exclude-result-prefixes="jsx1 jsx2">
<xsl:output method="xml" omit-xml-declaration="no"/>
<xsl:template match="/">
<xsl:apply-templates select="//jsx1:ListOfUserNames" mode="xx60846"/>
</xsl:template>
<xsl:template match="jsx1:ListOfUserNames" mode="xx60846">
<data jsxid="jsxroot">
<xsl:apply-templates select="jsx2:username" mode="xx42224"/>
</data>
</xsl:template>
<xsl:template match="jsx2:username" mode="xx42224">
<record jsxid="{generate-id()}">
<xsl:attribute name="dname"><xsl:value-of select="."/></xsl:attribute>
</record>
</xsl:template>
</xsl:stylesheet>
